
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ page session="false" %>

<%-- <spring:message code="students" var="dddd"/>
<spring:message code="itsme" var="aaaa"/> --%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>

<link type="text/css" rel="stylesheet" href="resources/css/style.css" />
<link type="text/css" rel="stylesheet"
	href="resources/css/ui-lightness/jquery-ui-1.10.3.custom.css" />
<link type="text/css" rel="stylesheet"
	href="resources/css/jquery-ui.css" />
<!-- <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" /> -->

<script type="text/javascript" src="resources/js/jquery-1.10.1.js"></script>
<script type="text/javascript"	src="resources/js/jquery-ui-1.10.3.custom.js"></script>
<script type="text/javascript" src="resources/js/script.js"></script>
</head>
<body>

	<sec:authorize access="hasRole('ROLE_ADMIN')">
		<a href="/rss/web/admin?username=${principal.username}&action=none">Admin page</a>
		<br>
		<br>
		<hr width="100" align="left">
		<br>
	</sec:authorize>

	<table width="100%">
		<tr>
			<td>
				<h2>
					Hello,
					<sec:authentication property="principal.username" />
					!
				</h2>
			</td>
			<td align="right"><a href="/rss/logout" style="font-size: 20px;">logout</a>
			</td>
		</tr>
	</table>
	<span id="errorId"></span>
	<div class="head">
		<input type="text" id="rss"
			onfocus="this.style.border='1px solid green'"
			onblur="this.style.border=''" /> <input type="button" id="button_rss"
			value="Add" />
	</div>
	<div id="current-feed"></div>
	<div id="starred-items">starred</div>
	<div id="all-items">all</div>
	<div id="tabs">
		<ul>
			<li><a href="#feeds">my feeds</a></li>
			<li><a href="#feeds-edit">edit</a></li>
		</ul>
		<div id="feeds">
			<ul id="list_feeds"></ul>
		</div>
		<div id="feeds-edit">
			<ul id="list_feeds_edit"></ul>
		</div>
	</div>

	<div id="items">
		<ul id="list_items"></ul>
	</div>

</body>
</html>